import React from 'react'

const ListItem = props => (
        <li>
                <img src={ props.img.replace('w.h','128.180') } alt=""/>
                <div className='mv-details'>
                    <h3>{ props.nm }</h3>
                    <p>观众评</p><span className="score">{ props.sc }</span>
                    <p>主演：{ props.star }</p>
                    <p>{ props.showInfo }</p>
                    <span 
                    className="buy"
                    >{ props.sc == 0?'预售':'购票' }</span>
                </div>
                
            </li>
)

export default ListItem